package com.hetao.xx.game;


import com.hetao.xx.constants;
import com.hetao.xx.game.common.Level;
import com.hetao.xx.game.model.User;
import com.hetao.xx.game.model.UserArms;
import com.hetao.xx.orm.UserVo;

public class Game {

    public static float getPercentByLevel(Level level) {
        switch (level) {
            case NoLevel:
                return 1.0f;
            case Three:
                return 1.2f;
            case Two:
                return 1.4f;
            case One:
                return 1.6f;
            case UpLevel:
                return 2.0f;
            case Lianqi:
                return 3.0f;
        }
        return 1.0f;
    }

    public static String getNameByLevel(Level level) {
        switch (level) {
            case NoLevel:
                return "不入流";
            case Three:
                return "三流";
            case Two:
                return "二流";
            case One:
                return "一流";
            case UpLevel:
                return "先天";
            case Lianqi:
                return "练气";
        }
        return "未知";
    }




}
